QuickOPC User's Guide and Reference
ServerElementCollection Constructor(IEnumerable<ServerElement>)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc Namespace > ServerElementCollection Class > ServerElementCollection Constructor : ServerElementCollection Constructor(IEnumerable<ServerElement>)
The collection to be copied from.
Initializes a new copy of the collection.
Syntax
'Declaration
 
Public Function New( _
   ByVal elements As IEnumerable(Of ServerElement) _
)
'Usage
 
Dim elements As IEnumerable(Of ServerElement)
 
Dim instance As New ServerElementCollection(elements)
public ServerElementCollection( 
   IEnumerable<ServerElement> elements
)
public:
ServerElementCollection( 
   IEnumerable<ServerElement^>^ elements
)

Parameters

elements
The collection to be copied from.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2012, Windows Server 2016; .NET Core, .NET 5, .NET 6: Linux, macOS, Microsoft Windows

See Also

Reference

ServerElementCollection Class
ServerElementCollection Members
Overload List